<?php /* Smarty version Smarty-3.1.18, created on 2014-12-28 22:06:08
         compiled from "application/views/user_orderlist.php" */ ?>
<?php /*%%SmartyHeaderCode:176887038154a00e502559e2-92161436%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b84145b7aeb1441c7fd64ab9bcbed711828bda06' => 
    array (
      0 => 'application/views/user_orderlist.php',
      1 => 1419237902,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '176887038154a00e502559e2-92161436',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54a00e502cdb75_19326538',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54a00e502cdb75_19326538')) {function content_54a00e502cdb75_19326538($_smarty_tpl) {?>
  <!--container begin-->
  <div id="container" class="fix">
    <div class="icontainer">
      <div id="main">
        <div class="crumb"><a href="#">Home</a> &gt; Order Lsit</div>
        <div class="userWrapper">
          <h3>Order Lsit</h3>
          <div class="userDes">
            <div class="fix">
              <p>To view the order details, please click the order number below.</p>
              <table class="cartTable">
                 <tbody>
	              <tr class="title">
	                <th class="sku">Date</th>
	                <th class="item">Order Number</th>
	                <th class="total">Total</th>
	                <th class="status">Order Status</th>
	                <th class="orderstate">Order detail</th>
	              </tr>
	              <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
	              <tr>
	                <td><?php echo date('Y-m-d H:i',$_smarty_tpl->tpl_vars['item']->value->create_time);?>
</td>
	                <td><a href="/user_mag/orderdetail/<?php echo $_smarty_tpl->tpl_vars['item']->value->orderid;?>
" class="ordernumber"><?php echo $_smarty_tpl->tpl_vars['item']->value->orderid;?>
</a></td>
	                <td class="color01"><?php echo $_smarty_tpl->tpl_vars['item']->value->total;?>
</td>
	                <td><p class="unpaid"><?php echo $_smarty_tpl->tpl_vars['item']->value->status;?>
</p>
	                <td><a href="/user_mag/orderdetail/<?php echo $_smarty_tpl->tpl_vars['item']->value->orderid;?>
">view</a></td>
	              </tr>
	              <?php } ?>
	            </tbody>
              </table>
              <div class="pageBar">
                <div class="page"><?php echo $_smarty_tpl->tpl_vars['data']->value['page'];?>
</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="aside">
  <h3>My Account</h3>
        <div class="search">
          <form action="" method="post">
            <div class="form">
		    <li><a href="/user_mag/myorder" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">My Orders</a></li>
			<li><a href="/user_mag/addresslist" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Address</a></li>
			<li><a href="/user_mag/account" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Account Details</a></li>
             </div>
          </form>
      </div>
      </div>
    </div>
  </div>
  <!--container end-->
 <?php }} ?>
